from selenium import webdriver
from time import sleep
from selenium.webdriver.common.by import By #定位

driver=webdriver.Edge()
driver.get('file:///C:/Users/HP/Desktop/Frame.html')
#窗口最大化
driver.maximize_window()
sleep(10)

#导入框架



driver.find_element(By.XPATH,'//*[@id="query"]').send_keys('叶挺')
sleep(5)
